﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABELGX
{
    public class WarningGroup
    {
        public string Name {  get; set; }
        public bool Warning => Items.Exists(x => x.Value);
        public List<WarningItem> Items { get; set; } = new List<WarningItem>();
        public WarningGroup() { }
        public WarningGroup(string name)
        {
            Name = name;
        }
    }
}
